package br.ufpe.cin.imlm2.util;

/**
 * Silly attempt to reuse code.
 * @author irineu
 *
 */
@Deprecated 
public class ArgumentsValidator {

	public static void verifyNullness(Object... args){
		int count = 0;
		for (Object object : args) {
			if(object == null)
				throw new IllegalArgumentException("Illegal null argument " + count + ".");
			count++;
		}
	}

}
